package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompOutboundOrderAddDTO;
import com.softtown.modules.dapai.dto.CompOutboundOrderDTO;
import com.softtown.modules.dapai.dto.CompOutboundOrderDetailDTO;
import com.softtown.modules.dapai.entity.CompMacEntity;
import com.softtown.modules.dapai.entity.CompOutboundOrderEntity;


/**
* @Author: Ding Ya Yong
* @Description: 售后申请单
* @date: 2022/1/2 11:40
* @Param:
* @return:
*/
public interface CompOutboundOrderService extends BaseService<CompOutboundOrderEntity> {

    PageInfo<CompOutboundOrderDTO> getOutboundOrderPageList(CompOutboundOrderDTO compOutboundOrderDTO);

    PageInfo<CompOutboundOrderDetailDTO> getOutboundOrderDetailPageList(CompOutboundOrderDetailDTO compOutboundOrderDetailDTO);

    CompOutboundOrderAddDTO getOutboundOrderById(Long compId, Long id);

    void updateMacStock(CompMacEntity compMacEntity);

    void addOutboundOrder(CompOutboundOrderAddDTO compOutboundOrderAddDTO);

    void updateOutboundOrder(CompOutboundOrderAddDTO CompOutboundOrderAddDTO);

    void deleteOutboundOrder(CompOutboundOrderDTO compOutboundOrderDTO);

}
